package priv.project.pojo;/**
 * @author： li
 * @date： 2023-02-14 14:10
 * @version 1.0
 */

import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

/**
 * @author： ljm
 * @date： 2023-02-14 14:10
 * @version 1.0
 */
@TableName("t_admin")
public class Admin {
    private int id;
    private String loginName;
    private String userName;
    private String password;
    private Date createDate;

    public Admin() {
    }

    public Admin(int id, String loginName, String userName, String password, Date createDate) {
        this.id = id;
        this.loginName = loginName;
        this.userName = userName;
        this.password = password;
        this.createDate = createDate;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date create_date) {
        this.createDate = create_date;
    }

    @Override
    public String toString() {
        return "Admin{" +
                "id=" + id +
                ", loginName='" + loginName + '\'' +
                ", userName='" + userName + '\'' +
                ", password='" + password + '\'' +
                ", create_date=" + createDate +
                '}';
    }
}
